﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nova_MOD
{
    public class CheckStorageModel
    {
        public long Pos_ID { get; set; }

        public string Tray_ID { get; set; }

        public string Mat_Code { get; set; }

        public string MAT_NAME { get; set; }

        public decimal Mat_Num { get; set; }

        public string UNIT_BASE { get; set; }

        public string PID { get; set; }

        public string TS01 { get; set; }

        public string S01 { get; set; }

        public string TM01 { get; set; }

        public string S02 { get; set; }

        public string TM03 { get; set; }

        public int Structure { get; set; }
    }

    public class MaterialGroupInfoShowModel
    {
        public string TypeCode { get; set; }

        public string MaterialGroupName { get; set; }
    }

    public class ReplenTrayInfoModel
    {
        public string Tray_ID { get; set; }

        public long Pos_ID { get; set; }

        public string Mat_Code { get; set; }

        public string Mat_Name { get; set; }
        public string TM03 { get; set; }

        public string S02 { get; set; }

        public decimal Mat_Num { get; set; }
        public string CmdTrayId { get; set; }

        public string S01 { get; set; }

        public string TM01 { get; set; }


       // public int AllMaterialCount { get; set; }

        public DateTime CDT { get; set; }
    }

    public class AutoOutStockModel
    {
        public string Tray_ID { get; set; }

        public long Pos_ID { get; set; }

        public string Mat_Code { get; set; }

        public string Mat_Name { get; set; }

        public decimal Mat_Num { get; set; }

        public string PID { get; set; }

        public string TS01 { get; set; }

        public int Pos_State { get; set; }

        public DateTime CDT { get; set; }
    }

    public class DeviceCmdInfoModel
    {
        public int SQID { get; set; }

        public int CmdCount { get; set; }
    }

    /// <summary>
    /// 存储过程返回值
    /// </summary>
    public class StoreProceResult
    {
        public int ResNo { get; set; }

        public string ResMsg { get; set; }
    }

    /// <summary>
    /// LCD 任务显示
    /// </summary>
    public class LCDTaskInfoModel
    {
        public long TaskID { get; set; }

        public string StockNo { get; set; }

        public string Mat_Code { get; set; }

        public string Mat_Name { get; set; }

        public decimal MAT_NUM { get; set; }

        public string TS01 { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string S01 { get; set; }

        /// <summary>
        /// 材质
        /// </summary>
        public string TM01 { get; set; }

        /// <summary>
        /// 图号
        /// </summary>
        public string S05 { get; set; }

        public int PLCType { get; set; }

        public string WMSTypeName { get; set; }

        public string Tray_ID { get; set; }

        public long PosS_ID { get; set; }

        public long PosE_ID { get; set; }
    }

    public class PosPrimitiveTypeModel
    {
        public int PosPrimitType { get; set; }

        public int PosCount { get; set; }
    }


    /// <summary>
    /// 
    /// </summary>
    public class DelStorageListModel
    {
        public long PID { get; set; }

        public string StockNo { get; set; }

        public string Mat_Code { get; set; }

        public decimal Num { get; set; }

        public decimal Act_Num { get; set; }

        public long DETAIL_PID { get; set; }
    }
}
